package com.feifan.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author Donald
 * @create 2019-05-03 22:10
 * 存储图片
 */
@Getter
@Setter
@ToString
@TableName(value = "images")
@JsonIgnoreProperties(ignoreUnknown=true)
public class ImageDTO implements Serializable {
    private static final long serialVersionUID = -7856920458020601518L;
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String imageName;
    private String imageAliasName;
    private String nginxAddress;
    private String extendattri;
}
